using System;
using System.Data;
using System.Configuration;
using System.Collections.Generic;
using Clue_Less_Shared.Enumerations;

namespace Clue_Less_Shared
{
    /// <summary>
    /// Child class of Character. Contains player name and a list of cards.
    /// </summary>
    public class Player : Character
    {
        private string _playerName;

        public string PlayerName
        {
            get { return _playerName; }
            set { _playerName = value; }
        }

        private List<Card> _cards;

        public List<Card> Cards
        {
            get { return _cards; }
            set { _cards = value; }
        }
        
        public Player()
            : base()
        {
            PlayerID = -1;
            PlayerName = "";
            _cards = new List<Card>();
        }

        public Player(Characters type, short x, short y)
            : base(type, x, y)
        {
            PlayerID = -1;
            _cards = new List<Card>();
        }

        public Player(Character character) : 
            base(character)
        {
            _cards = new List<Card>();
        }
    }
}
